const specialPlugin = {
    install: vue => {
        const req = require.context('../special', false, /\.vue/)
        req.keys().forEach(item => {
            const moduleName = item.match(/\/(\S*)\./)[1]
            const module = req(item).default
            vue.component(moduleName, module)
        })
    },
}
export default specialPlugin
